From 5a11fd04e8804453a763fe0bdbb02f9256bf37c1 Mon Sep 17 00:00:00 2001 From: Gerd Moellmann Date: Wed, 14 Mar 2001 12:39:36 +0000 Subject: [PATCH] (x_draw_glyph_string_box): Don't draw a full-width box just because the glyph row's full_width_p flag is set. --- src/xterm.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/xterm.c b/src/xterm.c index 4c90b835412..158db55612b 100644 --- a/src/xterm.c +++ b/src/xterm.c @@ -2487,7 +2487,7 @@ struct glyph_string }; -#if 0 +#if 1 static void x_dump_glyph_string (s) @@ -3835,9 +3835,9 @@ x_draw_glyph_string_box (s) width = abs (s->face->box_line_width); raised_p = s->face->box == FACE_RAISED_BOX; left_x = s->x; - right_x = ((s->row->full_width_p - ? last_x - 1 - : min (last_x, s->x + s->background_width) - 1)); + right_x = (s->row->full_width_p && s->extends_to_end_of_line_p + ? last_x - 1 + : min (last_x, s->x + s->background_width) - 1); top_y = s->y; bottom_y = top_y + s->height - 1; -- 2.30.2